package interfacekeyword;

public class ComparableRectangleTest {
    public static void main(String[] args) {
        ComparableRectangle r1 = new ComparableRectangle(1, 2);
        ComparableRectangle r2 = new ComparableRectangle(2, 1);

        System.out.println(r1.compareTo(r2));

    }
}
